<%@page import="org.Help_Desk.Entity.Employee"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>My Account</title>
</head>
<body> 
        <% Employee emp=new Employee();
                        emp.fetchemployee(201102001);%>
	<form class="form-horizontal" method="post" action="">
		<center>
			<h1>My Account</h1>
		</center>
		<table>
		<tr>
				<td>Employee ID</td>
				<td><input type="text" name="employeeid" value="<%=emp.getEmployeeid()%>" readonly></td>
			</tr>
			
			<tr>
				<td>First Name</td>
				<td><input type="text" name="lastname" value="<%=emp.getFname()%>" readonly></td>
			</tr>
                        <tr>
				<td>Last Name</td>
				<td><input type="text" name="lastname" value="<%=emp.getLname()%>" readonly></td>
			</tr>
			<tr>
				<td>Address</td>
				<td><textarea rows="3" name="address" ><%=emp.getAddress()%></textarea></td>

			</tr>
			<tr>
				<td>Contact Number</td>
				<td><input type="text" name="contactnumber" value="<%=emp.getContactNumber()%>"></td>
			</tr>
			<tr>
				<td>Email ID</td>
				<td><input type="text" name="emailid" value="<%=emp.getEmailId()%>" readonly></td>
			</tr>
			<tr>
				<td>Date of Birth</td>
				<td><input type="text" name="dateofbirth" value="<%=emp.getDOB()%>"></td>
			</tr>
			<tr>
				<td><input type="Submit" Value="Reset" name="btn"></td>
				<td><input type="Submit" Value="Save" name="btn"></td>
			</tr>
			
		</table>
	</form>
                        
</body>
</html>